/**
 * <pre>
 * Title: 		Passport.java
 * Project: 	MSWAP
 * Author:		linriqing
 * Create:	 	2012-5-28 上午11:50:34
 * Copyright: 	Copyright (c) 2012
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.msls.port.client.vo.client;

import java.io.Serializable;

import com.hengpeng.common.persist.entity.AbstractEntity.BoolValue;
import com.hengpeng.itfinbase.persist.UserInfo;
import com.hengpeng.itfinbase.persist.UserInfo.RegisterSource;
import com.hengpeng.itfinbase.persist.UserInfo.UserQuestionType;

/**
 * <pre>
 * 客户端通行证信息
 * </pre>
 * @author linriqing
 * @version 1.0, 2012-5-28
 */
public class Passport implements Serializable
{
	private static final long serialVersionUID = -7976998898404216100L;

	/**
	 * 第三方托管账户id
	 */
	private String trustAccountId;// 托管账户id

	/**
	 * 用户id
	 */
	private Long userId;

	/**
	 * 是否投资人
	 */
	private BoolValue isInvestor;

	/**
	 * 是否融资人
	 */
	private BoolValue isBorrower;

	/**
	 * 客户端类型
	 */
	private ClientType clientType;

	/**
	 * 注册来源
	 */
	private RegisterSource registerSource;

	/**
	 * 注册渠道类型
	 */
	private String registerFrom;

	/**
	 * email
	 */
	private String email;

	/**
	 * 证件号码
	 */
	private String idCode;

	/**
	 * 证件类型
	 */
	private IdType idType;

	/**
	 * 是否有效用户
	 */
	private boolean invalidated;

	/**
	 * 手机号码
	 */
	private String mobile;

	/**
	 * 真实姓名
	 */
	private String realName;

	/**
	 * toKen
	 */
	private String token;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 可用余额
	 */
	private Long balanceMoney = 0l;

	/**
	 * 绑定的银行卡记录编号
	 */
	private Long bankCardId;

	/**
	 * 绑定的银行卡
	 */
	private String bankCardNo;

	/**
	 * 绑定的银行卡所属银行
	 */
	private String bankName;

	/**
	 * 账户余额
	 */
	private Long baseMoney;

	/**
	 * 百度推送-应用的用户ID，一个应用在多个端，可以都属于同一用户（即对应一个userid）
	 */
	private String clientUserId;

	/**
	 * 百度推送-推送通道ID，通常指一个终端，如一台android系统手机。客户端绑定调用返回值中可获得。
	 */
	private String clientChannelId;

	/**
	 * 是否开启免打扰模式
	 */
	private BoolValue isNoDisturbPattern;

	/**
	 * 资金变动通知(通知,不通知)
	 */
	private BoolValue balanceNotify;

	/**
	 * 用户手机号码归属地
	 */
	private String mobileLocation;

	/**
	 * 注册时的地区
	 */
	private String registerArea;

	/**
	 * 苹果专用：提示页面、跳转客户端的路径
	 */
	private String skipHref;

	/**
	 * 累计充值金额(单位:分)
	 */
	private Long totalFillMoney;

	/**
	 * 累计投标(分)
	 */
	private Long totalInvestMoney;

	/**
	 * 累计提现金额(分)
	 */
	private Long totaldrawMoney;
	
	/**
	 * 是否设置密保
	 */
	private BoolValue isQuestionCheck;
	/**
	 * 密保问题
	 */
	private UserQuestionType questionType;
	
	/**
	 * 密保问题答案
	 */
	private String answer;
	
	/**
	 * 是否实名认证
	 */
	private BoolValue isRealNameCheck;

	/**
	 * 是否手机验证
	 */
	private BoolValue isMobileCheck;

	/**
	 * 是否邮箱验证
	 */
	private BoolValue isEmailCheck;
	
	/**
	 * 生日
	 */
	private String birthday;

	public String getTrustAccountId()
	{
		return trustAccountId;
	}

	public void setTrustAccountId(String trustAccountId)
	{
		this.trustAccountId = trustAccountId;
	}

	public Long getUserId()
	{
		return userId;
	}

	public void setUserId(Long userId)
	{
		this.userId = userId;
	}

	public BoolValue getIsInvestor()
	{
		return isInvestor;
	}

	public void setIsInvestor(BoolValue isInvestor)
	{
		this.isInvestor = isInvestor;
	}

	public BoolValue getIsBorrower()
	{
		return isBorrower;
	}

	public void setIsBorrower(BoolValue isBorrower)
	{
		this.isBorrower = isBorrower;
	}

	public Long getTotalFillMoney()
	{
		return totalFillMoney;
	}

	public void setTotalFillMoney(Long totalFillMoney)
	{
		this.totalFillMoney = totalFillMoney;
	}

	public UserInfo.RegisterSource getRegisterSource()
	{
		return registerSource;
	}

	public void setRegisterSource(UserInfo.RegisterSource registerSource)
	{
		this.registerSource = registerSource;
	}

	public String getSkipHref()
	{
		return skipHref;
	}

	public void setSkipHref(String skipHref)
	{
		this.skipHref = skipHref;
	}

	public String getRegisterArea()
	{
		return registerArea;
	}

	public void setRegisterArea(String registerArea)
	{
		this.registerArea = registerArea;
	}

	public String getRegisterFrom()
	{
		return registerFrom;
	}

	public void setRegisterFrom(String registerFrom)
	{
		this.registerFrom = registerFrom;
	}

	public String getClientUserId()
	{
		return clientUserId;
	}

	public void setClientUserId(String clientUserId)
	{
		this.clientUserId = clientUserId;
	}

	public String getClientChannelId()
	{
		return clientChannelId;
	}

	public void setClientChannelId(String clientChannelId)
	{
		this.clientChannelId = clientChannelId;
	}

	public BoolValue getIsNoDisturbPattern()
	{
		return isNoDisturbPattern;
	}

	public void setIsNoDisturbPattern(BoolValue isNoDisturbPattern)
	{
		this.isNoDisturbPattern = isNoDisturbPattern;
	}

	public BoolValue getBalanceNotify()
	{
		return balanceNotify;
	}

	public void setBalanceNotify(BoolValue balanceNotify)
	{
		this.balanceNotify = balanceNotify;
	}

	public String getMobileLocation()
	{
		return mobileLocation;
	}

	public void setMobileLocation(String mobileLocation)
	{
		this.mobileLocation = mobileLocation;
	}

	public String getBankName()
	{
		return bankName;
	}

	public void setBankName(String bankName)
	{
		this.bankName = bankName;
	}

	public Long getBalanceMoney()
	{
		return balanceMoney;
	}

	public void setBalanceMoney(Long balanceMoney)
	{
		this.balanceMoney = balanceMoney;
	}

	public Long getBaseMoney()
	{
		return baseMoney;
	}

	public void setBaseMoney(Long baseMoney)
	{
		this.baseMoney = baseMoney;
	}

	public Long getTotalInvestMoney()
	{
		return totalInvestMoney;
	}

	public void setTotalInvestMoney(Long totalInvestMoney)
	{
		this.totalInvestMoney = totalInvestMoney;
	}

	/**
	 * @return clientType
	 */
	public ClientType getClientType()
	{
		return clientType;
	}

	/**
	 * @return email
	 */
	public String getEmail()
	{
		return email;
	}

	/**
	 * @return idCode
	 */
	public String getIdCode()
	{
		return idCode;
	}

	/**
	 * @return idType
	 */
	public IdType getIdType()
	{
		return idType;
	}

	/**
	 * @return mobile
	 */
	public String getMobile()
	{
		return mobile;
	}

	/**
	 * @return realName
	 */
	public String getRealName()
	{
		return realName;
	}

	/**
	 * @return token
	 */
	public String getToken()
	{
		return token;
	}

	/**
	 * @return userName
	 */
	public String getUserName()
	{
		return userName;
	}

	public boolean isInvalidated()
	{
		return invalidated;
	}

	/**
	 * @param clientType clientType
	 */
	public void setClientType(ClientType clientType)
	{
		this.clientType = clientType;
	}

	/**
	 * @param email email
	 */
	public void setEmail(String email)
	{
		this.email = email;
	}

	/**
	 * @param idCode idCode
	 */
	public void setIdCode(String idCode)
	{
		this.idCode = idCode;
	}

	/**
	 * @param idType idType
	 */
	public void setIdType(IdType idType)
	{
		this.idType = idType;
	}

	public void setInvalidated(boolean invalidated)
	{
		this.invalidated = invalidated;
	}

	/**
	 * @param mobile mobile
	 */
	public void setMobile(String mobile)
	{
		this.mobile = mobile;
	}

	/**
	 * @param realName realName
	 */
	public void setRealName(String realName)
	{
		this.realName = realName;
	}

	/**
	 * @param token token
	 */
	public void setToken(String token)
	{
		this.token = token;
	}

	/**
	 * @param userName userName
	 */
	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	public Long getTotaldrawMoney()
	{
		return totaldrawMoney;
	}

	public void setTotaldrawMoney(Long totaldrawMoney)
	{
		this.totaldrawMoney = totaldrawMoney;
	}

	public Long getBankCardId()
	{
		return bankCardId;
	}

	public void setBankCardId(Long bankCardId)
	{
		this.bankCardId = bankCardId;
	}

	public String getBankCardNo()
	{
		return bankCardNo;
	}

	public void setBankCardNo(String bankCardNo)
	{
		this.bankCardNo = bankCardNo;
	}

	public BoolValue getIsQuestionCheck()
	{
		return isQuestionCheck;
	}

	public void setIsQuestionCheck(BoolValue isQuestionCheck)
	{
		this.isQuestionCheck = isQuestionCheck;
	}

	public UserQuestionType getQuestionType()
	{
		return questionType;
	}

	public void setQuestionType(UserQuestionType questionType)
	{
		this.questionType = questionType;
	}

	public String getAnswer()
	{
		return answer;
	}

	public void setAnswer(String answer)
	{
		this.answer = answer;
	}

	public BoolValue getIsRealNameCheck()
	{
		return isRealNameCheck;
	}

	public void setIsRealNameCheck(BoolValue isRealNameCheck)
	{
		this.isRealNameCheck = isRealNameCheck;
	}

	public BoolValue getIsMobileCheck()
	{
		return isMobileCheck;
	}

	public void setIsMobileCheck(BoolValue isMobileCheck)
	{
		this.isMobileCheck = isMobileCheck;
	}

	public BoolValue getIsEmailCheck()
	{
		return isEmailCheck;
	}

	public void setIsEmailCheck(BoolValue isEmailCheck)
	{
		this.isEmailCheck = isEmailCheck;
	}

	public String getBirthday()
	{
		return birthday;
	}

	public void setBirthday(String birthday)
	{
		this.birthday = birthday;
	}
	
	
}
